execute at @e[distance=..20,type=!armor_stand,type=!lightning_bolt,limit=1,type=!egg,type=!minecraft:item,type=!minecraft:arrow,type=!#lv:wh,name=!"雷神炮艇"] as @s run function lv:thor/attack2bete









#execute at @e[distance=..20,type=!lightning_bolt,limit=1,type=!#lv:wh2,type=!#lv:wh,name=!"雷神炮艇"] as @s run summon minecraft:lightning_bolt ~-2 ~ ~-2
#execute at @e[distance=..20,type=!lightning_bolt,limit=1,type=!#lv:wh2,type=!#lv:wh,name=!"雷神炮艇"] as @s run summon minecraft:lightning_bolt ~2 ~ ~-2
#execute at @e[distance=..20,type=!lightning_bolt,limit=1,type=!#lv:wh2,type=!#lv:wh,name=!"雷神炮艇"] as @s run summon minecraft:lightning_bolt ~2 ~ ~2
#execute at @e[distance=..20,type=!lightning_bolt,limit=1,type=!#lv:wh2,type=!#lv:wh,name=!"雷神炮艇"] as @s run summon minecraft:lightning_bolt ~ ~ ~
#execute at @e[distance=..20,type=!lightning_bolt,limit=1,type=!#lv:wh2,type=!#lv:wh,name=!"雷神炮艇"] as @s run summon minecraft:lightning_bolt ~4 ~ ~4
#execute at @e[distance=..20,type=!lightning_bolt,limit=1,type=!#lv:wh2,type=!#lv:wh,name=!"雷神炮艇"] as @s run summon minecraft:lightning_bolt ~4 ~ ~-4
#execute at @e[distance=..20,type=!lightning_bolt,limit=1,type=!#lv:wh2,type=!#lv:wh,name=!"雷神炮艇"] as @s run summon minecraft:lightning_bolt ~-4 ~ ~4
#execute at @e[distance=..20,type=!lightning_bolt,limit=1,type=!#lv:wh2,type=!#lv:wh,name=!"雷神炮艇"] as @s run summon minecraft:lightning_bolt ~-2 ~ ~2

#execute at @e[distance=5..20,type=!lightning_bolt ,limit=1,type=!#lv:wh2,name=!l] as @s run summon minecraft:creeper ~-2 ~ ~-2 {ignited:1b,ExplosionRadius:1,Fuse:0}
#execute at @e[distance=5..20,type=!lightning_bolt ,limit=1,type=!#lv:wh2,name=!l] as @s run summon minecraft:creeper ~2 ~ ~-2 {ignited:1b,ExplosionRadius:1,Fuse:0}
#execute at @e[distance=5..20,type=!lightning_bolt ,limit=1,type=!#lv:wh2,name=!l] as @s run summon minecraft:creeper ~ ~ ~ {ignited:1b,ExplosionRadius:1,Fuse:0}
#execute at @e[distance=5..20,type=!lightning_bolt ,limit=1,type=!#lv:wh2,name=!l] as @s run summon minecraft:creeper ~4 ~ ~4 {ignited:1b,ExplosionRadius:1,Fuse:0}
#execute at @e[distance=5..20,type=!lightning_bolt ,limit=1,type=!#lv:wh2,name=!l] as @s run summon minecraft:creeper ~4 ~ ~-4 {ignited:1b,ExplosionRadius:1,Fuse:0}
#execute at @e[distance=5..20,type=!lightning_bolt ,limit=1,type=!#lv:wh2,name=!l] as @s run summon minecraft:creeper ~-4 ~ ~4 {ignited:1b,ExplosionRadius:1,Fuse:0}
#execute at @e[distance=5..20,type=!lightning_bolt ,limit=1,type=!#lv:wh2,name=!l] as @s run summon minecraft:creeper ~-2 ~ ~2 {ignited:1b,ExplosionRadius:1,Fuse:0}
#execute at @e[distance=5..20,type=!lightning_bolt ,limit=1,type=!#lv:wh2,name=!l] as @s run summon minecraft:creeper ~ ~1 ~ {ignited:1b,ExplosionRadius:1,Fuse:0}~-2 ~ ~2
#summon minecraft:creeper ~ ~1 ~ {ignited:1b,ExplosionRadius:1,Fuse:0}